package com.qipa.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.baomidou.mybatisplus.plugins.Page;
import com.qipa.entity.ChatKeywords;
import com.qipa.mapper.ChatKeywordsMapper;
import com.qipa.model.ChatKeywordsModel;
import com.qipa.service.IChatKeywordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ChatKeywords 表数据服务层接口实现类
 */
@Service
public class ChatKeywordsServiceImpl extends SuperServiceImpl<ChatKeywordsMapper, ChatKeywords> implements IChatKeywordsService {

    @Autowired
    private ChatKeywordsMapper chatKeywordsMapper;


    @Override
    public Page<ChatKeywordsModel> getPage(Page<ChatKeywordsModel> page, ChatKeywordsModel params) {
        page.setRecords(chatKeywordsMapper.getPage(page, params));
        return page;
    }


    @Override
    public List<ChatKeywordsModel> getJoinList(ChatKeywordsModel params) {
        return chatKeywordsMapper.getJoinList(params);
    }


    @Override
    public List<ChatKeywordsModel> getSimpleList(ChatKeywordsModel params) {
        return chatKeywordsMapper.getSimpleList(params);
    }


}